package com.xt.purchasingsystem.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class SCell implements Serializable {
    private Integer id;

    private String storeId;

    private String productId;

    private String productName;

    private String firstKindId;

    private String firstKindName;

    private String secondKindId;

    private String secondKindName;

    private String thirdKindId;

    private String thirdKindName;

    private BigDecimal minAmount;

    private BigDecimal maxAmount;

    private BigDecimal maxCapacityAmount;

    private BigDecimal amount;

    private String config;

    private String register;

    private Date registerTime;

    private String checker;

    private Date checkTime;

    private String checkTag;

    public SCell(Integer id, String storeId, String productId, String productName, String firstKindId, String firstKindName, String secondKindId, String secondKindName, String thirdKindId, String thirdKindName, BigDecimal minAmount, BigDecimal maxAmount, BigDecimal maxCapacityAmount, BigDecimal amount, String config, String register, Date registerTime, String checker, Date checkTime, String checkTag) {
        this.id = id;
        this.storeId = storeId;
        this.productId = productId;
        this.productName = productName;
        this.firstKindId = firstKindId;
        this.firstKindName = firstKindName;
        this.secondKindId = secondKindId;
        this.secondKindName = secondKindName;
        this.thirdKindId = thirdKindId;
        this.thirdKindName = thirdKindName;
        this.minAmount = minAmount;
        this.maxAmount = maxAmount;
        this.maxCapacityAmount = maxCapacityAmount;
        this.amount = amount;
        this.config = config;
        this.register = register;
        this.registerTime = registerTime;
        this.checker = checker;
        this.checkTime = checkTime;
        this.checkTag = checkTag;
    }

    public SCell() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId == null ? null : storeId.trim();
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId == null ? null : productId.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public String getFirstKindId() {
        return firstKindId;
    }

    public void setFirstKindId(String firstKindId) {
        this.firstKindId = firstKindId == null ? null : firstKindId.trim();
    }

    public String getFirstKindName() {
        return firstKindName;
    }

    public void setFirstKindName(String firstKindName) {
        this.firstKindName = firstKindName == null ? null : firstKindName.trim();
    }

    public String getSecondKindId() {
        return secondKindId;
    }

    public void setSecondKindId(String secondKindId) {
        this.secondKindId = secondKindId == null ? null : secondKindId.trim();
    }

    public String getSecondKindName() {
        return secondKindName;
    }

    public void setSecondKindName(String secondKindName) {
        this.secondKindName = secondKindName == null ? null : secondKindName.trim();
    }

    public String getThirdKindId() {
        return thirdKindId;
    }

    public void setThirdKindId(String thirdKindId) {
        this.thirdKindId = thirdKindId == null ? null : thirdKindId.trim();
    }

    public String getThirdKindName() {
        return thirdKindName;
    }

    public void setThirdKindName(String thirdKindName) {
        this.thirdKindName = thirdKindName == null ? null : thirdKindName.trim();
    }

    public BigDecimal getMinAmount() {
        return minAmount;
    }

    public void setMinAmount(BigDecimal minAmount) {
        this.minAmount = minAmount;
    }

    public BigDecimal getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(BigDecimal maxAmount) {
        this.maxAmount = maxAmount;
    }

    public BigDecimal getMaxCapacityAmount() {
        return maxCapacityAmount;
    }

    public void setMaxCapacityAmount(BigDecimal maxCapacityAmount) {
        this.maxCapacityAmount = maxCapacityAmount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config == null ? null : config.trim();
    }

    public String getRegister() {
        return register;
    }

    public void setRegister(String register) {
        this.register = register == null ? null : register.trim();
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public String getChecker() {
        return checker;
    }

    public void setChecker(String checker) {
        this.checker = checker == null ? null : checker.trim();
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getCheckTag() {
        return checkTag;
    }

    public void setCheckTag(String checkTag) {
        this.checkTag = checkTag == null ? null : checkTag.trim();
    }

    @Override
    public String toString() {
        return "SCell{" +
                "id=" + id +
                ", storeId='" + storeId + '\'' +
                ", productId='" + productId + '\'' +
                ", productName='" + productName + '\'' +
                ", firstKindId='" + firstKindId + '\'' +
                ", firstKindName='" + firstKindName + '\'' +
                ", secondKindId='" + secondKindId + '\'' +
                ", secondKindName='" + secondKindName + '\'' +
                ", thirdKindId='" + thirdKindId + '\'' +
                ", thirdKindName='" + thirdKindName + '\'' +
                ", minAmount=" + minAmount +
                ", maxAmount=" + maxAmount +
                ", maxCapacityAmount=" + maxCapacityAmount +
                ", amount=" + amount +
                ", config='" + config + '\'' +
                ", register='" + register + '\'' +
                ", registerTime=" + registerTime +
                ", checker='" + checker + '\'' +
                ", checkTime=" + checkTime +
                ", checkTag='" + checkTag + '\'' +
                '}';
    }
}